package com.lecture.hibernate.pojo;

import java.sql.Timestamp;
import java.util.HashSet;
import java.util.Set;

/**
 * AbstractStudent entity provides the base persistence definition of the
 * Student entity. @author MyEclipse Persistence Tools
 */

public abstract class AbstractStudent implements java.io.Serializable {

	// Fields

	private String stuId;
	private School school;
	private String stuName;
	private String sex;
	private String birthPlace;
	private String national;
	private Timestamp enrollDate;
	private String class_;
	private Major major;
	private String stuRemark;
	private Set messageboxes = new HashSet(0);
	private Set statements = new HashSet(0);
	private Set fileInfos = new HashSet(0);
	private Set accounts = new HashSet(0);
	private Set techerStudents = new HashSet(0);
	private Set debateGroupStudents = new HashSet(0);
	private Set studentSubjects = new HashSet(0);
	private Set debateContents = new HashSet(0);

	// Constructors

	/** default constructor */
	public AbstractStudent() {
	}

	/** full constructor */
	public AbstractStudent(School school, String stuName, String sex,
			String birthPlace, String national, Timestamp enrollDate,
			String class_, Major major, String stuRemark, Set messageboxes,
			Set statements, Set fileInfos, Set accounts, Set techerStudents,
			Set debateGroupStudents, Set studentSubjects, Set debateContents) {
		this.school = school;
		this.stuName = stuName;
		this.sex = sex;
		this.birthPlace = birthPlace;
		this.national = national;
		this.enrollDate = enrollDate;
		this.class_ = class_;
		this.major = major;
		this.stuRemark = stuRemark;
		this.messageboxes = messageboxes;
		this.statements = statements;
		this.fileInfos = fileInfos;
		this.accounts = accounts;
		this.techerStudents = techerStudents;
		this.debateGroupStudents = debateGroupStudents;
		this.studentSubjects = studentSubjects;
		this.debateContents = debateContents;
	}

	// Property accessors

	public String getStuId() {
		return this.stuId;
	}

	public void setStuId(String stuId) {
		this.stuId = stuId;
	}

	public School getSchool() {
		return this.school;
	}

	public void setSchool(School school) {
		this.school = school;
	}

	public String getStuName() {
		return this.stuName;
	}

	public void setStuName(String stuName) {
		this.stuName = stuName;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthPlace() {
		return this.birthPlace;
	}

	public void setBirthPlace(String birthPlace) {
		this.birthPlace = birthPlace;
	}

	public String getNational() {
		return this.national;
	}

	public void setNational(String national) {
		this.national = national;
	}

	public Timestamp getEnrollDate() {
		return this.enrollDate;
	}

	public void setEnrollDate(Timestamp enrollDate) {
		this.enrollDate = enrollDate;
	}

	public String getClass_() {
		return this.class_;
	}

	public void setClass_(String class_) {
		this.class_ = class_;
	}

	public Major getMajor() {
		return this.major;
	}

	public void setMajor(Major major) {
		this.major = major;
	}

	public String getStuRemark() {
		return this.stuRemark;
	}

	public void setStuRemark(String stuRemark) {
		this.stuRemark = stuRemark;
	}

	public Set getMessageboxes() {
		return this.messageboxes;
	}

	public void setMessageboxes(Set messageboxes) {
		this.messageboxes = messageboxes;
	}

	public Set getStatements() {
		return this.statements;
	}

	public void setStatements(Set statements) {
		this.statements = statements;
	}

	public Set getFileInfos() {
		return this.fileInfos;
	}

	public void setFileInfos(Set fileInfos) {
		this.fileInfos = fileInfos;
	}

	public Set getAccounts() {
		return this.accounts;
	}

	public void setAccounts(Set accounts) {
		this.accounts = accounts;
	}

	public Set getTecherStudents() {
		return this.techerStudents;
	}

	public void setTecherStudents(Set techerStudents) {
		this.techerStudents = techerStudents;
	}

	public Set getDebateGroupStudents() {
		return this.debateGroupStudents;
	}

	public void setDebateGroupStudents(Set debateGroupStudents) {
		this.debateGroupStudents = debateGroupStudents;
	}

	public Set getStudentSubjects() {
		return this.studentSubjects;
	}

	public void setStudentSubjects(Set studentSubjects) {
		this.studentSubjects = studentSubjects;
	}

	public Set getDebateContents() {
		return this.debateContents;
	}

	public void setDebateContents(Set debateContents) {
		this.debateContents = debateContents;
	}

}